Skip to main content

Manage Schema

Defining input and output schemas ensures efficient data processing, smooth integration with external services, and adaptability to changes, leading to a robust and effective web application throughout its lifecycle.

Using the Schema Input and Schema Output options in Business Logic you can define the structure of data that is used as input and output for the logic or operations performed within the web application. This feature allows you to specify the expected data format, making it easier to interact with and process information within the web application's business logic.

To add Input Schema Settings

  1. Click on Schema from top pane of the Business Logic Editor and select Input from the drop down.
  2. Select the Schema Editor to Simple or Advanced.
    • Add the Sample Json Data if you have selected Type as Simple.
                  
    • Add the Input GUI Schema if you have selected Type as Advanced and further option as non-GUI.
                  
    • Add Fields if you have selected Type as Advanced and further option as GUI.
      • Add a Key.
      • Add a Label.
      • Choose the Parser type as Json Path, Template, or User Input.
      • You may enable it as Required and you can also add Multi Value.
      • Choose the UI Control type as Dropdown, Input, Text Area, Checkbox, Condition, or Object.
                            
  3. Click Ok to save the changes or click Cancel to abort the changes. 

To Add Output Schema Settings

  1. Click on Schema from top pane of the Business Logic Editor and select Output from the drop down.
  2. Select the Type to Fixed, Run, or Schema Service.
    • Add the Sample Json Data if you have selected Type as Fixed.
    • Choose the Select Service if you have selected the Type as Scheme Service.
                  
  3. Click Ok to save the changes or click Cancel to abort the changes.

Top of page